package a4;

public class Product {
    private String title;
    private double weight;
    private String description;

    // Constructors, getters, and setters
    public Product(String title, double weight, String description) {
        this.title = title;
        this.weight = weight;
        this.description = description;
    }

    // Getters and Setters
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public double getWeight() { return weight; }
    public void setWeight(double weight) { this.weight = weight; }
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }

    // Methods
    public double getPriceForQuantity(int quantity) {
        // Placeholder for actual pricing logic
        return 100.0 * quantity; // Example pricing
    }
}
